package org.tczs93.mycatreadwrite.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.tczs93.mycatreadwrite.model.Goods;
import java.util.List;

/**
 * @author ：tao.li
 * @description：
 * @date ：Created in 2021/8/23 16:00
 */
@Mapper
public interface GoodsMapper {

    public Goods findById(Long id);

    public List<Goods> findAll();

    public Long update(Long id);

    public Long add(Goods goods);
}
